<template>
	<view class="padding">
		<uni-list>
			<uni-list-item title="修改密码" clickable @click="pathUrl(1)" />
			<uni-list-item title="关于我们" clickable @click="pathUrl(2)" />
			<uni-list-item title="退出登录" clickable @click="pathUrl(3)" />
		</uni-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			pathUrl(type) {
				console.log(type);
				if(type==1){
					uni.navigateTo({
						url: '/pages/user/changePassword/changePassword'
					})
				}else if(type==2){
					
					uni.navigateTo({
						url:'/pages/user/protocol/protocol'
					})
				}else if(type==3){
					uni.reLaunch({
						url:'/pages/home/login/login'
					})
				}
			}
		},
	};
</script>
<style>
	.padding {
		padding: 10rpx 50rpx;
		background-color: white;
	}
</style>